from time import time

from sqlalchemy import Column, Integer, String

from . import Base


class Xiaohua(Base):
    # 数据表名
    __tablename__ = "xiaohua"

    id = Column(Integer,  primary_key=True)
    title = Column(String(20), nullable=False)
    text = Column(String(10000), nullable=False)
    status = Column(Integer, nullable=False)